/*
 * ConfigColumnJizda.java
 *
 * Created on 24. listopad 2006, 13:01
 *
 */

package cz.results.winter6.view.browse.table;

import javax.swing.table.TableCellEditor;
import javax.swing.table.TableCellRenderer;

public class ConfigColumnJizda extends ConfigColumn{
    
    public static final int ST_PORADI=0;
    public static final int STC=1;
    public static final int STC_Z_CASOMIRY=2;
    public static final int ST_CAS=3;
    public static final int ST_POCET_INTEVALU=4;
    
    /* cislo jizdy */
    private int cisloJizdy;
    /* identifikace polozky v jizde konstanty ST_PORADI, STC, atd.... */
    private int idPolozky;
    
   public ConfigColumnJizda(String nazev, TableCellRenderer tableCellRenderer, TableCellEditor tableCellEditor, int cisloJizdy, int idPolozky) {
        super(nazev,tableCellRenderer,tableCellEditor);
        setCisloJizdy(cisloJizdy);
        setIdPolozky(idPolozky);
    }
    
    public ConfigColumnJizda(String nazev, int cisloJizdy, int idPolozky){
        super(nazev);
        setCisloJizdy(cisloJizdy);
        setIdPolozky(idPolozky);
    }

    public int getCisloJizdy() {
        return cisloJizdy;
    }

    public void setCisloJizdy(int cisloJizdy) {
        this.cisloJizdy = cisloJizdy;
    }

    public int getIdPolozky() {
        return idPolozky;
    }

    public void setIdPolozky(int idPolozky) {
        this.idPolozky = idPolozky;
    }
    
}
